import { http } from '@/utils/http'; // 你自己的封装 axios 或 fetch 的模块

export function sendFileToEmail(data: { downloadUrl: string; fileName: string; email: string }) {
  return http.request({
    url: '/api/storage/file-send-email',
    method: 'POST',
    data,
  });
}